import React from 'react'
import classNames from 'classnames'

export default class App extends React.PureComponent {
  render () {
    return (
      <div>
        <h2 className={classNames('aaa', 'bbb', 'ccc')}>哈哈哈哈</h2>
        <h2 className={classNames('aaa', { 'bbb': false }, { 'ccc': true })}>哈哈哈哈</h2>
        <h2 className={classNames(['aaa', { 'bbb': true }, { 'ccc': false }])}>哈哈哈哈</h2>
        <h2 className={classNames({ 'foo-bar': false, 'foo-baz': true })}>哈哈哈哈</h2>
      </div>
    )
  }
}